<?php

/**
 * @author shuang
 * @date 2016-8-2 11:07:56
 */
use yii\helpers\Url;
use common\components\MTools;
\common\widgets\DatalistWidgetsAsset::register($this);
$this->registerJsFile('/js/article.js', ['depends' => ['backend\assets\AppAsset']]);
$this->registerJs('article.init();');
//添加操作提示模板
echo $this->render("/layouts/prompt", array("labels" => $labels));
?>
<div class="form-inline" role="form" id="toolbar">
    <div class="form-group">
        <input class="form-control" name="title"  value=""  placeholder="标题" autocomplete="off" type="text" />
    </div>
    <div class="form-group">
        <?php echo yii\helpers\Html::dropDownList("typeid", null, yii\helpers\ArrayHelper::merge([-1 => "请选择任务类型"],MTools::dictDropdown("product_wikid", true)), ["class" => "selectpicker"]); ?>
    </div>
    <button id="ok" type="submit" class="btn btn-primary">查 询</button>
    <button id="reset" type="reset" class="btn">清 空</button>
</div>
<ul class="toolbar pull-right" style="margin-right: 10px;padding:10px 0;">
    <li><a class="frost-Data-Mulit" href="<?php echo Url::toRoute(["article/create"]);?>"><span><img src="/images/t01.png" alt="添加"></span>添加</a></li>
</ul>
<table id="table"></table>